<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ page language="java" import="de.rubaff.reqiengi.objects.*" %>
<%@ page language="java" import="java.util.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ReqiEngi</title>

<link rel="StyleSheet" type="text/css" href="media/css/styles.css" />
<link rel="StyleSheet" type="text/css" href="media/css/navigation.css" />

<script type="text/javascript" src="media/scripts/jquery-1.3.2.min.js"></script>
<script type="text/javaScript" src="media/scripts/arc90_imgcaption.js"></script>
<script type="text/javascript" src="media/scripts/jscript.js"></script>


</head>

<body class="oneColElsCtr">

<div id="header">
	<p><img src="media/images/reqi-engi-logo.png" alt="ReqiEngi - Requirement Engineering - leicht gemacht!" /></p>
	<ul id="navigation">
		<li class="active"><a href="#">Home</a></li>
		<li><a href="#">Projecte</a></li>
		<li><a href="#">Benutzer</a></li>
		<li class="last"><a href="#">Impressum/Kontakt</a></li>
	</ul>
</div>

<div id="container">
  <div id="mainContent">
    <h1>Hauptinhalt</h1>
    <p>
Pellentesque fringilla interdum justo, a porttitor libero malesuada at. Maecenas nisl velit, dictum convallis eleifend id, aliquet sit amet elit? Phasellus a gravida ipsum! In non ligula varius elit volutpat luctus. Cras ac leo quis diam commodo consectetur. Mauris neque est, congue vitae tristique eget, sollicitudin vitae lectus. Suspendisse placerat malesuada tortor, nec aliquam tellus hendrerit vel. Proin condimentum nibh vel lacus tristique adipiscing. Vestibulum vitae tellus sed justo varius rhoncus a id mi. Duis lectus quam, ornare at gravida vitae, fringilla in risus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nullam tincidunt purus non augue venenatis sed iaculis ligula molestie.
</p>

<p>
Nunc tortor tellus, tincidunt vitae semper vitae, congue non diam. Proin augue magna, porttitor nec placerat tincidunt, consectetur sed lectus. Proin adipiscing nulla venenatis nisl cursus quis vestibulum risus pellentesque! Mauris a lectus leo. Sed iaculis aliquet odio id aliquet. Aliquam non pharetra ligula. Cras tortor nunc, vehicula quis elementum non, rutrum et orci. Donec vitae odio sit amet nisl pulvinar elementum! Pellentesque sollicitudin tempor pulvinar. Integer a sagittis nunc. Integer laoreet, augue eget hendrerit malesuada, turpis arcu porta libero, ac pharetra elit ligula convallis tellus. Cras at nulla diam, sit amet pretium arcu! Phasellus id dignissim nibh. Praesent volutpat pharetra consequat. Proin ullamcorper rutrum scelerisque. Praesent in ipsum ut massa rutrum mattis ut vel nulla! Donec vel diam vel tellus egestas commodo vitae hendrerit mi. Cras luctus massa sit amet mi hendrerit vitae sollicitudin diam egestas? Nullam massa felis, sollicitudin et sagittis quis, lacinia cursus mauris. Fusce aliquam diam sed lorem ornare imperdiet.
</p>

<p>
Nunc posuere erat nulla. Nunc at quam lorem. Duis erat lacus, imperdiet iaculis ullamcorper sed, ullamcorper non velit. Sed nec orci turpis, sed vestibulum diam. Vivamus varius odio non magna egestas vitae vehicula metus venenatis? Proin ut vehicula lectus. In rhoncus posuere lobortis. Sed tellus arcu, lobortis facilisis pharetra vel, tristique a lorem. Morbi ac viverra velit. Nulla facilisi. Pellentesque nec mauris metus; nec varius quam. Pellentesque ante mauris, convallis eget malesuada et, semper eu diam. Vivamus dapibus feugiat laoreet.
</p>
    <% 
    

    List<Project>  result = (List<Project>)request.getAttribute("projects");
 
    if(result == null)out.println("Keine Projekte vorhanden");
    else
    {
 	  for(Project pro : result)
 	  {
 		  out.println("<dl>");
 		  out.println("<dt>" + pro.getName()+ " ( " + pro.getUsers().get(0).getName()+" )</dt>");
 		  out.println("<dd class='description'>" + pro.getText() + "</dd>");    		
 		  out.println("</dl>");
 	  }
    }

    %>


<div id="footer">
	<p>&copy; Benjamin Ruff | Software Engineering 2009/2010 | Beuth Hochschule | Prof. Dr. Edlich</p>
</div>

</body>
</html>